import { Route } from 'react-keeper'
const PageGeneralCourse = require('./subpages/general/generalcourse')
const PageElectiveCourses = require('./subpages/electiveCourses/electivecourses')
const PageGeneralCourseDetail = require('./subpages/general/generalcourse/subpages/generalcoursedetail')
const PageHome = {
    page: require('./PageHome'),
    route: () => {
        return (<div>
            <Route index path='/home' component={Home} />
        </div>)
    }

}
const Home = () => {
    return (
        <div>
            <Route index component={PageHome.page} />
            <Route name="普通选课" path="/selectGeneralClass" component={PageGeneralCourse} />
            <Route name="普通选课选课详情页" path="/selectGeneralClassDetail" component={PageGeneralCourseDetail} />  
            <Route name="七选三选课" path="/electivecourses" component={PageElectiveCourses} />     
        </div>)
}

export default PageHome;
